home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d11 / daze40.arc / DAZZLE.DOC next >
Text File  |  1990-11-12  |  18KB  |  338 lines

  1.  
  2. DAZZLE :             Documentation for Revision 4.0
  3.                             4 September 1990
  4.  
  5.  
  6.        A randomized color pattern generator for MsDOS/PCDOS computers
  7. with EGA or VGA compatible color displays and adapters.  Performance art
  8. for the eyes!
  9.  
  10.        A source of beauty, sometimes subtle, sometimes vibrant, always
  11. changing.  The image engine has over 30 primary drawing algorithms, most
  12. of which have at least two styles of presentation, many of which have
  13. multiple internal drawing variations.  There are also an assortment of
  14. "fades", including split screens and pans, used by the imaging system
  15. for greater diversity of presentation.  The entire color range of the
  16. detected video system is utilized for maximum variety and visual
  17. stimulation.  The primary algorithms are mixed randomly on the screen,
  18. typically from 3 to 8 are overlaid at a time producing a very large
  19. assortment of possible displays.  Each display remains for a while to be
  20. appreciated, then the screen is cleared via one of the fade algorithms
  21. and another set of patterns is presented.  Mathematically speaking, an
  22. exact pattern match might not occur for many days of continuous
  23. operation.  Of course human perception is far less exacting and will
  24. discern repetition well ahead of these extremes, but the general effect
  25. is still impressive.  Note that the starting patterns of the program
  26. will be different each time it is executed, if it seems predictable then
  27. exit it and start it over again.
  28.  
  29.        The July 1990 issue of "PsL News" (713-524-6394) described this
  30. program as:
  31.                ...the best kaleidoscope program we've seen yet.
  32.                The beautiful use of colors, enhanced even
  33.                further by the use of fading in and out, is, for
  34.                want of a better word, awesome.
  35.  
  36.        Dazzle can be used in a variety of ways.  At the office it keeps
  37. the screen from being burned by constant display of an unchanging
  38. prompt.  Simply activate the program when leaving your desk or answering
  39. the phone or otherwise diverted.  One option is to activate Dazzle from
  40. a keyboard-locking program so that unauthorized access is prevented on
  41. your un-attended computer until you return.  In reception areas, at
  42. trade shows, and other events where the desire is to attract attention,
  43. use one of the faster cycling modes of Dazzle to peak curiosity and draw
  44. visitors to your area.  DAZZLE can be invoked from within your own
  45. presentation software for an extra touch of piazzas.
  46.  
  47.        Dazzle can be used to aid relaxation.  In its slower cycling VGA
  48. modes it is often soothing and helps one to shift conscious attention
  49. from the cares of the day.  When overwhelmed with problems or pressures,
  50. it is often true that shifting one's focus from an immediate concern
  51. provides the objectivity needed to enhance decision making and settle
  52. the nerves.  Used in conjunction with your favorite music, Dazzle can be
  53. highly entertaining and regenerating.
  54.  
  55.  
  56. DAZZLE Revision 4.0                    page 1 of 6
  57. Program, including source, and all related documentation Copyright
  58.  
  59.        DAZZLE is a performing art tool for the eyes.  The MIDI control
  60. and full manual image control options have not yet been implemented, but
  61. even in its current random play mode it is great 'living' mobile art.
  62. Capture stills, record it on your VCR, or play it live with your band.
  63. Applications are boundless.
  64.  
  65.  
  66. Usage: DAZZLE [- options] [/ options]
  67.        -c = COMPATIBLE mode, use BIOS for better portability.
  68.        -2 = 2 part palette update to fix flickering screens (slower).
  69.        -n = NO retract of hard disk heads.
  70.        -x = XT compatible mode, inferior but works.
  71.        -s = SHOW mode, quick single image.
  72.        -e = EGA operation mode forced.
  73.        -v = VGA operation mode forced.
  74.        -t = TALL video aspect ratio mode.
  75.        -f = FIXED colors instead of randomized.
  76.        -a = ALTERNATE (faster) color cycling speed.
  77.        -m = MAD (fastest) color cycling speed.
  78.        -b = Bashful, no closing credits.
  79.  During the display the '+' and '-' keys can be used to control color
  80. cycling speed!  The TAB key will FREEZE the display till the next key!
  81.  
  82.  
  83.        The DAZZLE program accepts any combination of options on the
  84. initial command line that affect it's mode of operation.  The options
  85. can be preceded with either the "/" character or the "-" character. At
  86. least one space must exist between the DAZZLE command and the first
  87. option.  For example: "DAZZLE -FN" instructs DAZZLE to execute with
  88. Fixed colors and No retract of the hard disk drive heads.  The options
  89. are not case sensitive (upper and lower case letters are treated
  90. identically). The options can be concatenated into a single string
  91. (like: -FN), or can be entered separately (like: -F -N), the effect is
  92. the same.  To get a list of legal options use either the "-?" option
  93. (DAZZLE -?) or the question mark alone (DAZZLE ?).  The effects of each
  94. option are detailed below.
  95.  
  96.        Six of the options for DAZZLE are specifically related to
  97. increasing portability of the program to various computers and displays.
  98. The "c", "2", "n", "x", "e", and "v" options default to the most
  99. desirable modes, but can be controlled by the user.  VGA users should
  100. also refer to the "t" option for details.
  101.  
  102. /C = COMPATIBLE mode, use BIOS for better portability.
  103.        Normally DAZZLE bypasses the video adapters BIOS code for maximum
  104. speed in color palette cycling.  However, some adapters can have
  105. problems with this mode of operation.  To cause DAZZLE to use the
  106. provided BIOS the "C" option can be used.  If your display flickers,
  107. distorts, or the color fails to cycle smoothly during the display then
  108. try this option to determine if it corrects the problem.  As of Rev.
  109. 3.9g this option also impacts the EGA operational mode, this was needed
  110. by some VGA adapters when DAZZLE was operated in the forced EGA mode.
  111. This option reduces program performance speed and should not be used if
  112.  
  113. DAZZLE Revision 4.0                    page 2 of 6
  114. Program, including source, and all related documentation Copyright
  115.  
  116. not needed.
  117.  
  118. /2 = 2 part palette update to fix flickering screens (slower).
  119.        Normally the entire color palette is updated at one time for each
  120. tick of the color cycling clock.  If the CPU clock speed or the VGA
  121. palette register update rate are too slow, the upper part, or perhaps
  122. all of the display, will flicker badly during the display.  To determine
  123. if this is due to palette updates, press and hold the "-" key during the
  124. running display until it beeps (this is the slowest cycling clock rate).
  125. If the display only flickers when the color changes, then palette update
  126. speed is a problem.  Using the "2" option splits the VGA palette update
  127. request into two almost equal groups that are handled sequentially. This
  128. should remove, or at least significantly reduce, cycling induced
  129. flicker.  This option should not be used if not needed as it slows the
  130. entire display generation process.  This option only affects operation
  131. with VGA adapters since they allow longer 256 color palettes.  Short 16
  132. color palettes for EGA's are never divided into two separate updates.
  133.  
  134. /N = NO retract of hard disk heads.
  135.        Since the DAZZLE display is often allowed to run for hours, the
  136. hard disk heads are normally parked into a safe power-down position as a
  137. precaution in case electrical power is lost, or the computer powered-
  138. down while DAZZLE is active.  This process has no effect on the image
  139. generation performance of DAZZLE, but if your drive controller is highly
  140. non-standard it might cause DAZZLE to fail to start.  The user can issue
  141. this option to prevent any attempt to park the hard disk heads.
  142.  
  143. /X = XT compatible mode, inferior but works.
  144.        This option should allow DAZZLE to execute on 8088 or 8086 based
  145. XT type computers with EGA or VGA adaptors.  This option will be
  146. automatically initiated if the 808x style CPU is detected at program
  147. startup, but specifying the command line option avoids the warning
  148. message.  The EGA performance on XT computers seems acceptable, but the
  149. VGA mode may be noticeably inferior to the performance of an 80x86 based
  150. computer.  The faster the CPU clock the better the overall performance
  151. and fluidity of DAZZLE.
  152.  
  153.  
  154.        The remainder of the DAZZLE options adjust the image generating
  155. algorithms used by the program.  They are largely artistic in nature but
  156. allow customizing the presentation to various environments and
  157. requirements.
  158.  
  159. /S = SHOW mode, quick single image.
  160.        This option gives a quick single panel of images and then
  161. terminates automatically.  This is most useful when DAZZLE is to be
  162. executed from other programs or batch files.  As of rev 4.0 the image
  163. displayed is NOT the same one each time, this now allows normal
  164. randomization of the program.
  165.  
  166. /E = EGA operation mode forced.
  167.        Normally DAZZLE will automatically detect the video adapter
  168. hardware attached and adjust itself to utilize the maximum resources
  169.  
  170. DAZZLE Revision 4.0                    page 3 of 6
  171. Program, including source, and all related documentation Copyright
  172.  
  173. available.  If a VGA style adapter is detected then the display uses all
  174. 256 color palette registers for a far more subtle and interesting series
  175. of displays.  This /E option allows VGA users to select and view the EGA
  176. mode of operation.  NOTE: If VGA users wish to use an 'image capture'
  177. type of program to extract the display into a file you must use either
  178. the /E option or the /T option since these modes use standard BIOS
  179. supported video modes.  The default VGA mode of DAZZLE uses a specially
  180. enhanced 320x400x256 mode that has yet to be successfully captured by
  181. any commercial product.  As of rev 4.0 this option, like the new /V
  182. option, will prevent DAZZLE from aborting if it thinks that it has
  183. detected an unacceptable video controller/monitor combination, though it
  184. will still give it's usual error messages during startup.
  185.  
  186. /V = VGA operation mode forced.
  187.        Normally DAZZLE will automatically detect the video adapter
  188. hardware attached and adjust itself to utilize the maximum resources
  189. available.  This option generally SHOULD NOT BE NECESSARY, NOR USED.  It
  190. should be unable to cause any damage, but is intended for rare
  191. compatibility conflicts where the startup code in DAZZLE falsely rejects
  192. the video controller/monitor combination as unacceptable.  This option,
  193. like the /E option, will allow the error messages to be reported (so
  194. that you can write us of the problem), but will prevent the program from
  195. aborting itself.  If the controller/monitor is really VGA compatible, or
  196. really EGA compatible if using the /E option, then normal image
  197. generation should be observed.  Unlike the /E option, this option has no
  198. "artistic" usage or impact.
  199.  
  200. /T = TALL video aspect ratio mode.
  201.        Normally the EGA mode of DAZZLE uses a 16 color 640x350
  202. resolution display with a modified aspect ratio (screen is mapped as if
  203. it had 640x700 resolution).   The default VGA mode uses 256 color
  204. 320x400 resolution.  The /T option causes the program to use the
  205. standard BIOS supported screen resolution and aspect ratio in generating
  206. all images.  The effect is slightly faster image generation, but with a
  207. noticeably tall aspect ratio.  As of rev 4.0 this option is functional
  208. with the VGA display mode.  This allows VGA images to be captured, or
  209. converted to NTSC television video images for recording on video tape.
  210. Note that due to VGA hardware limitations that using this option will
  211. prevent the display of "dual page" effects (where a screen composed of a
  212. different image than the one being displayed is 'panned' or 'scrolled'
  213. onto the visible display area).
  214.  
  215. /F = FIXED colors instead of randomized.
  216.        Normally DAZZLE will randomize the color palette registers
  217. between each screen erase before starting the next image generation.
  218. This allows all the possible colors (up to a quarter million on VGA) to
  219. be used by the program.  This option forces the palette to an identical
  220. state at all times.
  221.  
  222.  /A = ALTERNATE (faster) color cycling speed.
  223.        The default color cycling mode is the slowest, with the most
  224. subtle shadings and transitions.  This option increases the cycling rate
  225. used in shaping the palette contents.  This effect is distinct from, but
  226.  
  227. DAZZLE Revision 4.0                    page 4 of 6
  228. Program, including source, and all related documentation Copyright
  229.  
  230. can complement, the "+" and "-" keys that can be used while the program
  231. is active.
  232.  
  233. /M = MAD (fastest) color cycling speed.
  234.        This option not only greatly accelerates the color palette
  235. contents rotation, but it also increases the number of image primitives
  236. that can be displayed at one time before the screen is erased.  The
  237. effect is a far busier screen, a more intense visual experience.  This
  238. is particularly suited to attention getting in show-rooms and other
  239. public displays, whereas the default mode is more practical for personal
  240. meditation and relaxation.
  241.  
  242. /B = Bashful, no closing credits.
  243.        DAZZLE will identify itself, including its revision level, when
  244. the program is first initiated.  In most display modes this opening
  245. identification will remain on the screen with a "Press any key" prompt
  246. until the user makes some key entry (or about 30 seconds passes).  The
  247. BASHFUL option will allow DAZZLE to start without requiring an extra
  248. keystroke after only a 2 second delay.  This mode will also prevent
  249. closing credits when the program terminates (similar to the SHOW
  250. option), and additionally prevents DAZZLE from clearing the type-ahead
  251. keyboard buffer when it exits.  This allows usage of DAZZLE in a more
  252. classical 'Screen Saver' mode since whatever key is pressed to exit is
  253. not lost.  This mode disables ALL key interpretation of DAZZLE, even the
  254. "+" and the "-" keys will cause DAZZLE to terminate.  DAZZLE does not
  255. (yet) initiate itself in a 'Screen Saver' fashion, but by using this
  256. option it can be called from such a utility.
  257.  
  258.  
  259.        While DAZZLE is actively displaying it's images (if not in
  260. BASHFUL mode) the "+" and "-" keys can be used to adjust the color
  261. palette cycling clock.  The console will 'beep' when either the maximum
  262. or the minimum extreme is reached.  The TAB key can be used to FREEZE
  263. any display pending another key press.  This is helpful for those that
  264. wish to capture, photograph, or ponder the current image.  Note that the
  265. TAB key has two possible effects.  When TAB is first pressed, all screen
  266. activity is frozen, including color cycling.  At this point if any key
  267. other than another TAB is pressed then DAZZLE beeps and resumes fully
  268. normal activity.  If however, a second TAB is pressed, then color
  269. cycling is resumed, but the image generation engine is still frozen.  In
  270. this condition any key press, even another TAB, will simply beep and
  271. resume fully normal activity.
  272.  
  273.        Most any other keypress during the display will terminate the
  274. program.  There are some keys that have some harmless undocumented
  275. effects on the display for various development testing (for example:
  276. pressing the "H" key will HOLD the current display from fading until the
  277. "N" key is pressed to start the NEXT display).  The use of either the
  278. "Enter" or the "Escape" key will guarantee normal program termination.
  279.  
  280.        All reasonable effort has been made to assure that the use of
  281. this program on any compatible computer system can have no detrimental
  282. side effects.  In addition to extensive Quality Assurance testing, the
  283.  
  284. DAZZLE Revision 4.0                    page 5 of 6
  285. Program, including source, and all related documentation Copyright
  286.  
  287. program contains an internal integrity check.  If some ill-willed person
  288. attempts to attach any virus or other code modifications to this program
  289. it probably will be detected and the program refuse to execute.  Any
  290. such persons will be aggressively pursued and prosecuted.  Anyone
  291. receiving this program and being unable to execute it should contact us
  292. directly and provide information about where the defective copy was
  293. acquired.  As of rev 4.0 the anti-viral system uses CRC checking instead
  294. of the previous checksum algorithm.
  295.  
  296.  
  297.        Programmers comments: DAZZLE is mostly written in Turbo C 2.0
  298. (copyright Borland).  Recent attempts to use Turbo C++ 1.0 have seemed
  299. successful, but quality assurance testing will not be quickly completed
  300. due to the variations that need to be confirmed.  Assembler code was
  301. used mostly due to two characteristic of DAZZLE; all image generation is
  302. done a single pixel at a time, thus video write mode 2 was needed for
  303. EGA speed, secondly the VGA mode uses the not-so-standard but highly
  304. portable 320x400 mode instead of the normal BIOS supported 320x200 mode.
  305. DAZZLE contains a few added tricks as well that reside both in C and
  306. assembler.
  307.  
  308.        If you are a C programmer with interest in DAZZLE then please
  309. write to us.  Not only is it possible to purchase source code, but we
  310. are currently offering financial incentives for contributing authors.
  311. We will be glad to provide full details if you send a Self Addressed
  312. Stamped Envelope, or note your interest when you pay your registration
  313. fee.
  314.  
  315.  
  316. This program may be distributed AT NO CHARGE (excluding reasonable
  317. distribution cost) as is.  All commercial rights retained by the author,
  318. this program is released in executable form to the Public Domain.  This
  319. program must not be altered in any way, and is offered without warranty,
  320. as is, the only assurance to the user is that all reasonable effort has
  321. been made to confirm that this program as released will produce no
  322. undesirable or damaging effects on the executing computer.
  323.  
  324. Comments and inquires about updates, other versions, and other products
  325. are welcome. Source can be purchased for some products. $10.00
  326. registration payable to MicroTronics earns a free update and puts you on
  327. our mailing list (be sure to mention the revision level of the copy of
  328. DAZZLE that you have currently!).
  329.  
  330. Mailing address (1990) :
  331. J.R.Shiflett's Midnight Visions Workshop
  332. c/o MicroTronics
  333. 503 Shenandoah Drive
  334. Spring, Tx USA 77381
  335.  
  336. DAZZLE Revision 4.0                    page 6 of 6
  337. Program, including source, and all related documentation Copyright
  338.